﻿#ifndef POSTCOMMAND_CMDSETHEATMAPCHANGETRACERPROPERTY_H
#define POSTCOMMAND_CMDSETHEATMAPCHANGETRACERPROPERTY_H

#include "CommandManager/CommandBase.h"

namespace PostCommand
{
    /// @brief 后处理保存图像命令
    class CmdSetHeatMapChangeTracerProperty : public CommandManager::CommandBase
    {
        Q_OBJECT

    public:
        CmdSetHeatMapChangeTracerProperty();
        ~CmdSetHeatMapChangeTracerProperty();

        bool execute() override;
        void undo() override;
        void redo() override;

        void setHeatMapChangeTracerProperty(int mainWindowId, QString name, int tracerStyle, int size, int penR, int penG, int penB, int penA, int tracerID);

    private:
        int m_mainWindowId;
        QString m_name;
        int m_symbolStyle;
        int m_size;
        int m_penR;
        int m_penG;
        int m_penB;
        int m_penA;
        int m_tracerID;
    };
} // namespace PostCommand

#endif
